package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * ExamClassifyModel
 * 考试分类表
 *
 * @author 任晓帅
 * @version 2.0.0
 * @since 2.0.0 2018-11-15 19:40:28
 */
@ApiModel(value = "ExamClassifyModel:考试分类表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class ExamClassifyModel implements Serializable {

    //region 模板逆向生产来自ExamClassifyEntity的属性
    /**
     * id
     */
    @ApiModelProperty(value = "examClassify主键")
    @Column(name = "id")
    private String id;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称", required = true)
    private String name;

    /**
     * 父节点，用于树显示
     */
    @ApiModelProperty(value = "父节点，用于树显示")
    private String parentId;

    /**
     * 是否为叶子节点（0否  1是）
     */
    @ApiModelProperty(value = "是否为叶子节点（0否  1是）", example = "0")
    private Integer isLeaf;

    //endregion

    /* *****************************以下是非模板生成的内容************************************ */
}
